package org.openrbac.rbac.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.openrbac.rbac.entity.ProductStore;
import org.openrbac.rbac.service.ProductStoreService;
import org.openrbac.rbac.mapper.ProductStoreMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 梁富贵
* @description 针对表【product_store】的数据库操作Service实现
* @createDate 2024-06-05 23:30:06
*/
@Service
public class ProductStoreServiceImpl extends ServiceImpl<ProductStoreMapper, ProductStore>
    implements ProductStoreService{

    @Override
    public List<ProductStore> getProductStoreList(Integer productId) {
        return this.baseMapper.selectAllProductConditionByProductId(productId);
    }
}




